﻿using Castle.Aop.AspectsHub;
using Castle.Aop.AspectsHub.Attributes;
using Castle.Aop.InjectionHub;
using Castle.Aop.IService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Castle.Aop.Service
{
    public class TestService : IScopedDependency
    {
        private readonly IDemoService _demoService;
        public TestService(IDemoService demoService) { _demoService = demoService; }


        [DataAddLog]
        public async virtual Task<string> info()
        {
            await Console.Out.WriteLineAsync();
            return "";
        }
    }
}
